GenerativeComponents Help

Parametric Variables Node

To use the Parametric Variables Node, a parametric model should be created in the DGN .

The Parametric Variables node is used to drive the model's geometry parametrically by changing the values of associated variables.

The Parametric Variables node has the following techniques:

SettingDescription
SetLocalVariables The SetLocalVariables technique is used to define the parametric variable values which modifies the parametric model.
  • Open a DGN file which already has a parametric model created.
  • Add a Parametric Variables node to the Graph. By default the SetLocalVariables technique is selected.
  • Assign Variables value in the node to drive the parametric model from the DGN.

SetLocalVariables Technique

AddVariations The AddVariations technique is used to define variations of a model.
  • Open a DGN file which already has a parametric model created.
  • Add a Parametric Variables node to the Graph and select the AddVariations technique.
  • Enter VariationName in the node.

    After entering the VariationName, the variable ports are visible in the node.

    By assigning new Variables value, a Variation is created in the Variables dialog.

    Note: Variations is a replicated property. You can create multiple variations in a single node.

AddVariations Technique

FromCSVFile The FromCSVFile technique allows to read all the Variables and Variations from a CSV file (CSV Files are exported from MicroStation's Variable dialog ).
  • Open a DGN file which already has a parametric model created.
  • Add a Parametric Variables node to the Graph and select the FromCSVFile technique.
  • Enter CSVFileName or click Browse for CSV file to load the CSV file as shown in the figure.

  • Select the CSV file from Select Cell Library File dialog and click Open.

    Variation and Variables are imported to the MicroStation's Variables dialog. The following is an example of Variation imported to Variables dialog.

FromCSVFile Technique

VariablesByModel The VariablesByModel technique is used to fetch the variables of a model in a node's downstream output.
  • Open a DGN file which already has a parametric model created.
  • Add a Parametric Variables node to the Graph and select the VariablesByModel technique.
  • Select one of the models from DGNModelName drop-down list in the Parametric Variables node.

    It shows the defined Variables from that model.

VariablesByModel Technique

VariationsByModel The VariationsByModel technique is used to fetch the variations of a model in a node's downstream output.
  • Open a DGN file which already has a parametric model created.
  • Add a Parametric Variables node to the Graph and select the VariationsByModel technique.
  • Select one of the models from DGNModelName drop-down list in the Parametric Variables node.

    It shows the defined Variations from that model.

VariationsByModel Technique